#ifndef OPENCL_H
#define OPENCL_H

int initOpenCL();
void finiOpenCL();

int buildProgram(char *source);
void finiProgram();

int execFractal(int w, int h, double scale, double topLeftX, double topLeftY, int limit, double *samples);
int execJulia(int w, int h, double scale, double topLeftX, double topLeftY, double cx, double cy, int limit, double *samples);
//int execOpenCL(int w, int h, float scale, float topLeftX, float topLeftY, int limit, float *samples);

#endif /* OPENCL_H */